<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
<!--

.my_class {
	height: auto;
	width: 300px;
	
}
-->,:
</style>
</head>
<body>
<%= form_for(@test) do |f| %>
  <% if @test.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@test.errors.count, "error") %> prohibited this test from being saved:</h2>

      <ul>
      <% @test.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_area :name,"cols" => 40,"rows"=>4, "autocorrect"=>"off",  "autocomplete"=>"off", "autocapitalize"=>"off" ,"spellcheck"=>"false" ,"dir"=>"ltr" ,"tabindex"=>"0", "wrap"=>"SOFT" ,"name"=>"text" ,"id"=>"source" ,"style"=>"-moz-box-sizing: border-box; overflow-y: hidden; overflow-x: auto;", "class"=>"my_class"  %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

</bodu>
